package com.oracle.service.impl;

import com.oracle.entity.Dept;
import com.oracle.mapper.DeptMapper;
import com.oracle.service.DeptService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author
 * @since 2025年05月15日
 */
@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {

    @Autowired
    private DeptMapper deptMapper;

    @Override
    public Dept findDeptById(Integer id) {
        return deptMapper.selectById(id);
    }
}
